<!--

  描述：...
  作者：...
  日期：...
-->
#set(jstree = false)
#set(webuploader = false)
#set(wangeditor = false)
#set(echarts = false)
#set(bootstraptable = true)

#@mgtlayout()
#define main()
<div class="wrapper">

    <div class="profile container">
        <div class="tab-v1">
            <div class="tab-content" style="padding: 1px 0;">
                <div class="tab-pane fade in active" id="overview">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <h3 class="panel-title">Transaction Information &nbsp;
                                <a href="#" onclick="javascript:history.back(-1);" style="float: right" class="btn-u btn-brd btn-brd-hover btn-u-dark btn-u-xs pull-center">返回</a>
                            </h3>
                        </div>
                        #if(record == null)
                        <div id="ContentPlaceHolder1_maintable_" class="container row" style="margin-top:30px;text-align: center ">
                            <h1>链信息没有缓存到本地，请5分钟后再试</h1>
                        </div>
                        #else
                        <div id="ContentPlaceHolder1_maintable" class="container row" style="margin-top:30px">
                            <div class="col-sm-2 hidden2-su-xs">TxHash:</div>
                            <div id="tx" class="col-sm-10 cbs" style="word-wrap: break-word;">#(record.txHash ??) </div>
                            <div class="col-sm-2 hidden2-su-xs">ParentHash:</div>
                            <div id="tx" class="col-sm-10 cbs" style="word-wrap: break-word;">#(record.parentHash ??) </div>
                            <div Class='col-sm-2 hidden2-su-xs'>Status:</div>
                            <div Class='col-sm-10 cbs'><span title='A Status code indicating if the top-level call succeeded or failed (applicable for Post BYZANTIUM blocks only)'></span><font color='green'>Success</font>
                            </div>
                                <div class="col-sm-2 hidden2-su-xs">块  高:</div>
                            <div class="col-sm-10 cbs">#(record.block ??)</div>

                            <div class="col-sm-2 hidden2-su-xs">From:</div>
                            <div class="col-sm-10 cbs">
                                #(record.from ??)
                            </div>
                            <div class="col-sm-2 hidden2-su-xs">To:</div>
                            <div class="col-sm-10 cbs">Contract
                                #(record.to ??)
                            </div>
                            <div class="col-sm-2 hidden2-su-xs">Value:</div>
                            <div class="col-sm-10 cbs">
										<span title="The amount of ETH to be transferred to the recipient with the transaction">0</span>
                            </div>
                            <div class="col-sm-2 hidden2-su-xs">Nonce  <span title="Index position of Transaction in the block"></span></div>
                            <div class="col-sm-10 cbs">
                                <span title='Transaction Nonce'>#(record.nonce ??)</span> | <span title='Index position of Transaction in the block'></span>
                            </div>
                            <div class="col-sm-2 hidden2-su-xs">Input Data:</div>
                            <div class="col-sm-10 cbs">
                                <div class="tab-content">
                                    <div class="tab-pane fade active in" id="rawtab">
                                        <div>
													<span title="The binary data that formed the input to the transaction, either the input data if it was a message call or the contract initialisation if it was a contract creation">
<textarea readonly spellcheck="false" style='/*max-height:215px;*/width: 100%; font-size: small; font-family: Monospace; padding: 8px; background-color: #EEEEEE;' rows='30' id='inputdata'>Function: createModel(uint32 conflict_id, uint32 row_id, uint32 par_row_id, string created, string created_by, string last_upd, string last_upd_by, uint32 modification_num, string eim_source, string attrib_str)

MethodID:      #(record.methodId ??)
[tokenID]:  #(recordlist.attrib_04 ??)
[attrib_05]:  #(recordlist.attrib_05 ??)
[attrib_06]:  #(recordlist.attrib_06 ??)
[attrib_07]: #(recordlist.attrib_07 ??)
[attrib_08]:  #(recordlist.attrib_08 ??)
[上链时间]:  #(recordlist.attrib_09 ??)

</textarea><br>
                                            </span>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        #end
                        <br />
                    </div>
                </div>
            </div>
        </div>
        <br />
    </div>
</div>
#end


#define css()
#(yx.css("/content/pc/sysmgt/block/custom-head-foot-scroll-blue.css"))
#(yx.css("/content/pc/sysmgt/block/perfect-scrollbar.css"))
#(yx.css("/content/pc/sysmgt/block/profile.css"))
#(yx.css("/content/pc/sysmgt/block/style-mod.css"))
#(yx.css("/content/pc/sysmgt/block/detail.css"))
<style>
        body.r-outer > .r-body{overflow-y: hidden}
</style>
#end

#define js()
#(yx.js("/script/pc/sysmgt/block/detail.js"))
<script>
    var initHeight = $(window).height();
    function initSize(initHeight) {
        $("body.r-fs").height(initHeight);
        $("body.r-outer > .r-body").height(initHeight-10);
        $(".panel").height(initHeight-20);
        $("#inputdata").height(initHeight/2.5);
    };
    initSize(initHeight);
    $(window).resize(function () {
        var initHeight = $(window).height();
        initSize(initHeight);
    });
</script>
#end

